
use "C:\mydirectory\wholeseries.dta", clear
prais majportionaftnextelect majorblocksize willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
prais majportionaftnextelect twosessionissuechange willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
prais majportionaftnextelect majorblocksize twosessionissuechange willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
logit defeatnextelection majorblocksize willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
logit defeatnextelection twosessionissuechange willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
logit defeatnextelection majorblocksize twosessionissuechange willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority

use "C:\mydirectory\postww2.dta", clear
prais majportionaftnextelect_01 PortionConsidered willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority
prais DefeatinNextElection PortionConsidered willmidtermlosshelpmajority1yes1 presidentialcoattailsformajority

use "C:\mydirectory\post1992sqanalysis.dta", clear
prais majoritynetgains degreetowhichsqonmajoritysideofc
prais DefeatinNextElection degreetowhichsqonmajoritysideofc

use "C:\mydirectory\BlockedSqChange.dta", clear
regress howmuchclosertomedianisoutcometh distanceinitialsqtomedianamongbl hastert
